package com.kalix.mooc.course.dao;

import com.kalix.framework.core.impl.dao.GenericDao;
import com.kalix.mooc.course.api.dao.ICourseBeanDao;
import com.kalix.mooc.course.entities.CourseBean;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 * 功能描述:
 *
 * @Description: 课程数据访问层接口实现
 * @Author: yyp
 * @CreateDate: 2019/6/22$ 14:43$
 * @Version:
 */
public class CourseBeanDaoImpl extends GenericDao<CourseBean, Long> implements ICourseBeanDao {
    @Override
    @PersistenceContext(unitName = "mooc-course-unit")
    public void setEntityManager(EntityManager em) {
        super.setEntityManager(em);
    }
}
